]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - Super Polarity/Actors/Ship.cs
I have the worst commits ever.
[rbdr/super-polarity] / Super Polarity / Actors / Ship.cs
index b4706ac41670e8c42180d99b73962e716336be4f..2839c9738dcebb00ac93f2501bc73ab298ee9bdb 100644 (file)
@@ -11,7 +11,6 @@ namespace SuperPolarity
     {
         public enum Polarity : byte { Negative, Positive, Neutral };
 
-        protected uint HP;
         public Polarity CurrentPolarity;
         public uint MagneticRadius;
 
@@ -22,10 +21,12 @@ namespace SuperPolarity
 
         protected bool Magnetizing;
 
-        public Ship(Game newGame) : base(newGame) {
+        public Ship(SuperPolarity newGame) : base(newGame) {
             MagneticRadius = 250;
             RepelRadius = 100;
 
+            HP = 5;
+
             FleeVelocity = 5;
             ActVelocity = 2;
             ChargeVelocity = 1.5f;